﻿using System;
using System.Runtime.Serialization;

namespace BF3StatsNetApi
{
    [Serializable]
    public class BF3StatsException: Exception
    {
        public BF3StatsException() : base() { }
        public BF3StatsException(string message) : base(message) { }
        public BF3StatsException(string message, Exception inner) : base(message, inner) { }

        // A constructor is needed for serialization when an
        // exception propagates from a remoting server to the client. 
        protected BF3StatsException(SerializationInfo info, StreamingContext context) { }

    }
}
